package com.honestpeak.datafusion.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.honestpeak.datafusion.model.Department;
import com.honestpeak.datafusion.model.SelectClass;
import com.honestpeak.datafusion.model.selectMajory;

public interface DepartmentMapper {

	List<Department> selectAll();
	
	//根据departmentid查询专业
    List<selectMajory> selectMajoryByDepartId(@Param("departId") Long departId);
	
	//根据majoryId查询班级信息
	List<SelectClass> selectClassByDepartId(@Param("majoryId") Long majoryId);

}
